﻿using System.Windows;

namespace Visuals.Wizard
{
    /// <summary>
    /// Interaction logic for StartWindow.xaml
    /// </summary>
    public partial class SecondStepWindow : Window
    {
        public SecondStepWindow(bool tfIdf)
        {
            InitializeComponent();
            useTfIdf.IsChecked = tfIdf;
        }

        private void nextButton_Click(object sender, RoutedEventArgs e)
        {
            MainWindow.Object.useTfIdf.IsChecked = useTfIdf.IsChecked;
            ThirdStepWindow thirdStep = new ThirdStepWindow(MainWindow.Object.shouldStem.IsChecked == true);
            Close();
            thirdStep.ShowDialog();
        }

        private void prevButton_Click(object sender, RoutedEventArgs e)
        {
            FirstStepWindow firstStep = new FirstStepWindow(20);
            Close();
            firstStep.ShowDialog();
        }

        private void cancelButton_Click(object sender, RoutedEventArgs e)
        {
            Close();
        }

        private void useTfIdf_Checked(object sender, RoutedEventArgs e)
        {
        }
    }
}
